<template>
  <div class="sign-card">
    <div>{{ info.ptnName }}&nbsp;|&nbsp;{{ info.sex }}&nbsp;|&nbsp;{{ info.age }}岁</div>
    <div>诊断信息：{{ info.diagnosis }}</div>
    <div>病情状态：</div>
    <div>责任护士：{{ info.nurName }}</div>
    <div>入院时间：{{ info.adTime }}</div>
  </div>
</template>

<script setup>
const props = defineProps({
  info: {
    type: Object,
    required: true,
  },
});
</script>

<style lang="scss" scoped>
.sign-card {
  width: 9vw;
  padding: 1vh 1vw;
  margin-bottom: 1.5vh;
  border-radius: 5px;
  :first-child {
    font-size: 0.8vw;
    padding-bottom: 1.2vh;
    border-bottom: 1px dashed #fff;
  }
  > div {
    margin-bottom: 0.8vh;
    font-size: 0.6vw;
  }
}
</style>
